<?php

session_start();

$page_permission = 3;

include "webmaster_check_login.php";

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>

<link href="../css/header.css" rel="stylesheet" type="text/css">
<link href="../css/navigation.css" rel="stylesheet" type="text/css" />

<script type="text/javascript" src="../js/form_validations.js"></script>

<style type="text/css">
body {
	background-image: url(../images/wood.jpg);
	background-repeat: repeat-x;
	margin: 0px;
	background-position: left top;
	background-attachment: fixed;
	background-color: #000000;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}
</style>
<link href="../css/customer_register.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}
function MM_callJS(jsStr) { //v2.0
  return eval(jsStr)
}
</script>
</head>

<body>

<div id="page_container">

<?php 

include "webmaster_header.php";
include "webmaster_navigation.php";

?>

	<div id="login_container">

		<div id="new_container">

		<h2><?php echo $_SESSION['change_password_message'] ?></h2>
    
    	<form action="webmaster_process_change_password.php" method="post" name="change_password" id="register">
    		<input type="password" name="current_pass" id="current_pass" placeholder="Current password"/><br>
     		<input type="password" name="new_pass" id="new_pass" placeholder="New password"/><br>
     		<input type="button" class="register_button" onclick="MM_callJS('change_password_form()')" value="Change password"/> 
    	</form>
        
	    <p>Back <a href="../admin_files/webmaster_account.php">to your account</a></p>

    	</div>
    	<!--new_container-->

	</div>
	<!--login_container-->

</div> 
<!--page_container-->

</body>
</html>